package com.me.modules.sys.service;

import com.me.modules.sys.entity.ValueDictionaryEntity;

import java.util.List;
import java.util.Map;

/**
 * 流程扩展数据表
 *
 * @author me
 * @email me@163.com
 * @date 2018-12-17 16:48:00
 */
public interface ValueDictionaryService {

	ValueDictionaryEntity queryObject(Long id);

	List<ValueDictionaryEntity> queryList(Map<String, Object> map);

    List<ValueDictionaryEntity> queryListByBean(ValueDictionaryEntity entity);

	int queryTotal(Map<String, Object> map);

	int save(ValueDictionaryEntity valueDictionary);

	int update(ValueDictionaryEntity valueDictionary);

	int delete(Long id);

	int deleteBatch(Long[] ids);

	ValueDictionaryEntity findByFieldIdAndUserId(Long fieldID,String tableId);
}
